package com.lagou.edu.service;

import com.lagou.edu.pojo.LagouUser;

public interface LagouUserService {
    /**
     * 保存用户
     *
     * @param user
     * @return
     */
    Boolean saveUser(LagouUser user);

    /**
     * 获取用户信息
     *
     * @param email
     * @param password
     * @return
     */
    LagouUser findOne(String email, String password);

    /**
     * 获取用户信息
     *
     * @param email
     * @return
     */
    LagouUser findOne(String email);
}
